<div class="row RowSpace" style="margin-top:10px;">
  <div class="LableDiv">
    <Label>业务类型:</Label>
  </div>
  <div class="InputDiv" style="width:3%;">
    <CheckBox value="ProductComplete" change="cbRcvRpt()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:6%;margin-right:20px">
    <Label>成品完工</Label>
  </div>
  <div class="InputDiv" style="width:3%;">
    <CheckBox value="ConnectArea" change="cbConnect()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:8%;margin-right:20px">
    <Label>交接区入库</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="All" change="cbRcvAll()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;">
    <Label>全部</Label>
  </div>
</div>
<div class="row RowSpace" style="margin-top:10px;">
  <div class="LableDiv">
    <Label>入库时间:</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="Day" change="cbCurrentDay()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;margin-right:20px">
    <Label>当天</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="LastWeek" change="cbLastWeek()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;margin-right:20px">
    <Label>上周</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="CurrentWeek" change="cbCurrentWeek()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;margin-right:20px">
    <Label>本周</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="LastMonth" change="cbLastMonth()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;margin-right:20px">
    <Label>上月</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="CurrentMonth" change="cbCurrentMonth()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;margin-right:20px">
    <Label>本月</Label>
  </div>
  <div class="InputDiv" style="width:1%;">
    <CheckBox value="AllDay" change="cbAllDate()"></CheckBox>
  </div>
  <div class="LableDiv" style="width:5%;">
    <Label>全部</Label>
  </div>
</div>
<div class="row RowSpace" style="margin-top:10px;">
  <DataGrid module="Module.RcvRecord" isedit="false" IsSelect="true" IsAutoLoad="false" height="390px">
    <TextBoxColumn DisplayName="芯片ID" width="200px" ValueField="BarcodeMaster.Barcode"></TextBoxColumn>
    <NumberBoxColumn DisplayName="业务类型" width="150px" ValueField="RcvBusinessType"></NumberBoxColumn>
    <TextBoxColumn DisplayName="业务单据" width="150px" ValueField="BusinessDocID.Code"></TextBoxColumn>
    <TextBoxColumn DisplayName="生产批次" width="150px" ValueField="BarcodeMaster.MOLotNumber"></TextBoxColumn>
    <TextBoxColumn DisplayName="出货批次" width="200px" ValueField="BarcodeMaster.ShipLotNumber"></TextBoxColumn>
    <TextBoxColumn DisplayName="物料" width="200px" ValueField="ItemMaster.Name"></TextBoxColumn>
    <TextBoxColumn DisplayName="规格" width="200px" ValueField="ItemMaster.Specification"></TextBoxColumn>
    <TextBoxColumn DisplayName="入库人" width="200px" ValueField="RcvUser.Name"></TextBoxColumn>
    <TextBoxColumn DisplayName="入库时间" width="200px" ValueField="RcvDateTime"></TextBoxColumn>
    <TextBoxColumn DisplayName="入库数量" width="200px" ValueField="RcvQty"></TextBoxColumn>
    <TextBoxColumn DisplayName="入库部门" width="200px" ValueField="RcvUser.Department.Name"></TextBoxColumn>
    <TextBoxColumn DisplayName="入库工序" width="200px" ValueField="RcvOperation"></TextBoxColumn>
    <TextBoxColumn DisplayName="交接区" width="200px" ValueField="ConnectArea.Name"></TextBoxColumn>
    <TextBoxColumn DisplayName="已产生ERP单据" width="200px" ValueField="ERPID"></TextBoxColumn>
  </DataGrid>
</div>
<!-- <div class="row RowSpace" style="margin-top:10px;">
<div class="LableDiv" style="width:130px;">
  <Btn class="BtnDelete" value="同步ERP完工报告" ng-click="btnSyncERPComplete()"></Btn>
</div>
</div>
-->
<div class="row RowSpace" style="margin-top:10px;">
<div class="LableDiv" style="width:50px;">
  <ModalBox Text="同步ERP完工报告" style="width:150px;" WindowTitle='同步完工报告' beforeshow="btnSyncERPComplete()" IsDisplayBtn="false" width="800px;" height="550px;">
    <div class="row RowSpace">
      <DataGrid module="Module._RcvRecord" IsEdit="false" height="400px">
        <TextBoxColumn DisplayName="工单" width="80px" ValueField="BusinessDocID.Code"></TextBoxColumn>
        <TextBoxColumn DisplayName="生产批次" width="300px" ValueField="BarcodeMaster.MOLotNumber"></TextBoxColumn>
        <TextBoxColumn DisplayName="物料" width="200px" ValueField="ItemMaster.Name"></TextBoxColumn>
        <TextBoxColumn DisplayName="规格" width="200px" ValueField="ItemMaster.Specification"></TextBoxColumn>
        <TextBoxColumn DisplayName="入库人" width="200px" ValueField="RcvUser.Name"></TextBoxColumn>
        <TextBoxColumn DisplayName="入库时间" width="200px" ValueField="RcvDateTime"></TextBoxColumn>
        <TextBoxColumn DisplayName="入库数量" width="200px" ValueField="RcvQty"></TextBoxColumn>
        <TextBoxColumn DisplayName="处理结果" width="200px" ValueField="HandleResult"></TextBoxColumn>
      </DataGrid>
    </div>
    <div class="row RowSpace" style="margin-top:20px;margin-bottom:20px;">
      <Btn class="BtnAdd"  value="执行" ng-click="btnExecute()"></Btn>
      <!-- <Btn class="BtnAdd"  value="导出" ng-click="btnExport()"></Btn>
    -->
    <!-- <Btn class="BtnAdd"  value="关闭" ng-click="btnClose()"></Btn>
  -->
</div>
</ModalBox>
</div>
</div>